package com.hirsi.module.menu.vo.result;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.List;

@ApiModel("接口选择数据")
@Data
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class ApiTreeSelectorResult {

    @ApiModelProperty("接口地址")
    private String url;

    @ApiModelProperty(value = "接口描述", position = 2)
    private String description;

    @ApiModelProperty(value = "下级接口", position = 3)
    private List<ApiTreeSelectorResult> children;
}
